package com.hy.service;

import com.hy.untils.OpenAIClientWrapper;
import org.springframework.stereotype.Service;

@Service
public class LlmService {
    private final OpenAIClientWrapper client;

    public LlmService() {
        this.client = new OpenAIClientWrapper("sk-ljYzZlZTY4Zjgx", "http://");
    }

    public String callLlm(String instruction, String prompt) {
        return client.call(instruction, prompt);
    }
}
